<template>
  <div>
    <p>
      <a href="https://terryz.gitee.io/vue/#/region/demo">v-region</a>
      中国行政区划组件
    </p>
    <v-region :town="true"  @values="regionChange"></v-region>
  </div>
</template>

<script>
export default {
  name: "TestRegion",
  data(){
    return{

    }
  },
  methods:{
    //receive selected region data
    regionChange(data){
      console.log(data);
    }
  }
}
</script>

<style scoped>

</style>
